package test.myclassloader;

import java.net.URL;
import java.net.URLClassLoader;

public class MyURLClassLoader extends URLClassLoader {
	public MyURLClassLoader() {
		super(getMyURLs());
	}

	private static URL[] getMyURLs() {
		try {
			return new URL[] { new URL("http://localhost:8080/MyPrj2/classes/")};
		} catch (Exception e) {
			e.printStackTrace();
			return null;
		}
	}  	
}